package com.yami.shop.vo.group.gag;

import com.yami.shop.vo.group.UserIdVo;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.Valid;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class GroupGayRemVo implements Serializable {

    @NotEmpty(message = "群组id不能为空")
    @Schema(description = "创建群组 ID，支持大小写英文字母、数字、部分特殊符号 + = - _ 的组合方式，最大长度 64 字节", required = true)
    private String groupId;


    @Valid
    @NotNull(message = "解除禁言群成员列表不能为空")
    @Schema(description = "解除禁言群成员列表", required = true)
    private List<UserIdVo> users;
}
